Skip to content

Fix RST inline literal rendering in obstacle layer docs#894

Closed
remete618 wants to merge 1 commit intoros-navigation:masterfrom
remete618:fix/rst-inline-literal-rendering
Closed

Fix RST inline literal rendering in obstacle layer docs#894
remete618 wants to merge 1 commit intoros-navigation:masterfrom
remete618:fix/rst-inline-literal-rendering

Conversation

@remete618
Copy link
Copy Markdown

Summary

What changed

configuration/packages/costmap-plugins/obstacle.rst: replaced 22 field name entries from:

:``<obstacle layer>``.enabled:

to:

:<obstacle layer>.enabled:

The double-backtick markup inside field list names triggers a rendering bug in sphinx_rtd_theme (ref: sphinx_rtd_theme #1678), causing field names to overflow their containers. Plain-text angle brackets are sufficient here.

Test plan

  • Local Sphinx build renders field names correctly
  • No overflow in rendered HTML

Remove double-backtick inline literal markup from RST field list
names in the obstacle costmap plugin docs. The markup triggered a
rendering bug in sphinx_rtd_theme, causing field names to overflow
their containers.
Copy link
Copy Markdown
Collaborator

@mini-1235 mini-1235 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you show us the screenshot after these changes?

@SteveMacenski
Copy link
Copy Markdown
Member

I looked over the changes and I think we should keep this as-is. This is an intentional choice for organization of plugin-based namespaced parameters. I appreciate the effort and agree its suboptimal but there's trade offs were making on that front. Hope you can contribute more in the future and sorry that we cannot accept this PR!

We're currently working on some new documentation formatting, so in the coming months should be vastly improved anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot render inline literal text in field names

3 participants